<!DOCTYPE HTML>
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport"
	content="width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
	<link rel="stylesheet" type="text/css" href="css/index.css">
	
	<script type="text/javascript">

	function funcD1(opCode, dataType, data){
		document.getElementById('f1').innerHTML = "以下是Native plugin返回的值：<br><p style='color:red;'>" + data + "</p>";
	}
	
	window.uexOnload = function(type){
		if(type == 0){  
			uexDate.cbStartActivityForResult = funcD1;
			//uexDate.onCallBack = onCb;
		}
	}
	
//	function openv(){
//		var time = document.getElementById("time").value;
//		uexDate.test_vibrator(time);
//	}
	
	
</script>
</head>

<body>
	<div class="tit">uexDemo对象</div>
	<div class="conbor">
		<div class="consj">
		
			<div class="tcxx" id="f1">
			此接口将打开一个自定义的activity：DateNativeActivity，并获取其操作后的返回值。
			</div>
		<!--	<span>1.test_removeMyViewFromWindow接口</span>  -->
			<div class="tcxx" >
			日历
			</div>
			<input class="btn" type="button" value="点击调用接口" onclick="uexDate.test_startActivityForResult();"><br><br>
			
		</div>
	</div>
</body>
</html>
